.banner {
  display: flex;
  justify-content: center;
  height: 700px;
  background: #1a1a1a;
  background-image: url(/assets/image/index/banner.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding-top: 200px;
}

.banner-content {
  width: 1440px;
}

.banner-content-title {
  font-size: 88px;
  font-weight: 500;
}

.banner-content-subtitle {
  font-size: 76px;
  font-weight: 500;
}
.banner-content-subtitle div {
  display: inline-block;
  position: relative;
}
.banner-content-subtitle div::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  display: inline-block;
  width: 100%;
  height: 20px;
  background: #ffc637;
}

.banner-content-subtitle div span {
  position: relative;
}

.banner-content-cn-subtitle {
  font-size: 28px;
  color: #e4e4e4;
  margin-top: 14px;
}

.banner-content-slogan {
  margin-top: 32px;
  font-weight: 500;
  font-size: 36px;
  color: #ffffff;
}

.about-box {
  display: flex;
  justify-content: center;
}

.about-container {
  width: 1440px;
  padding: 60px 0;
}

.about-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  height: 100%;
  /* padding: 0 60px; */
}

.about-content {
  flex: 1;
}

.about-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  position: relative;
}

.about-sub-title {
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.about-title span {
  color: #ff9900;
}

.about-text {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.about-more {
  display: inline-block;
  width: 192px;
  height: 54px;
  background-color: rgb(255, 193, 7);
  border-radius: 183px 183px 183px 183px;
  font-size: 16px;
  color: #1a1a1a;
  text-align: center;
  line-height: 54px;
}

.about-more:hover {
  background: #ffd876;
  color: #1a1a1a;
}

.about-image-mobile {
  display: none;
}

.about-image {
  flex: 1;
  width: 736px;
  height: 410px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all .3s;

}

.about-image img:hover{
  /* transform: scale(1.1); */
}

/* 产品中心 */
.product-container {
  display: flex;
  background-image: url(/assets/image/index/product.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 800px;
  width: 100%;
  padding: 80px 0;
}

.product-container-web {
  display: flex;
}

.product-left {
  width: 333px;
  margin-left: calc((100vw - 1440px) / 2);
}

.product-box-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
}

.product-title-yellow {
  color: #ffc637;
}

.product-desc {
  font-size: 14px;
  color: #ffffff;
  line-height: 20px;
  margin-bottom: 81px;
}

.product-list {
  position: relative;
  height: 272px;
  overflow-y: auto;
  padding-right: 10px;
  mask: linear-gradient(
    to bottom,
    transparent,
    white 20%,
    white 80%,
    transparent
  );
  margin-bottom: 100px;
  padding: 50px 6px 50px 0px;
}
.product-list div {
  padding: 18px 13px;
  color: #ffffff;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.product-list div i {
  margin-right: 16px;
}

.product-list div.active {
  display: flex;
  align-items: center;
  height: 60px;
  background: #ffc637;
  color: #1a1a1a;
  border-radius: 30px;
  padding: 18px 13px;
}

.product-list div:not(.active):hover {
  color: #ffc637;
}

/* 基本样式 */
.product-list::-webkit-scrollbar {
  transition: all 0.3s;
  width: 10px; /* 滚动条宽度 */
}

.product-list::-webkit-scrollbar-track {
  background: #282c34; /* 轨道背景颜色 */
}

.product-list::-webkit-scrollbar-thumb {
  background: #555; /* 滚动条滑块颜色 */
  border-radius: 10px; /* 滑块圆角 */
}

/* 鼠标悬停时的样式 */
.product-list::-webkit-scrollbar-thumb:hover {
  background: #c2c2c2; /* 悬停时滑块颜色 */
}

.product-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 192px;
  height: 54px;
  border-radius: 183px 183px 183px 183px;
  border: 1px solid #ffffff;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-more:hover {
  background: #ffffff;
  color: #1a1a1a;
}

.product-right {
  position: relative;
  height: 640px;
  width: 100%;
  margin-left: 12px;
  background: #393d46;
}

.product-control {
  position: absolute;
  right: 7.96vw;
  bottom: 5.72vw;
  display: flex;
}

.product-control-prev,
.product-control-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  top: auto;
  bottom: 30px;
  right: 30px;
  opacity: 1;
  color: black;
  transition: all 0.3s;
  box-shadow: 3px 0px 28px 9px rgba(0, 0, 0, 0.1);
}
.product-control-prev {
  margin-right: 36px;
}

.product-control-prev:hover,
.product-control-next:hover {
  background: #ffc637;
}

.product-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-content::before {
  content: "";
  width: 76%;
  height: 100%;
  background: #fff;
  position: absolute;
  top: 0;
}

.product-item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  overflow: hidden;
  cursor: pointer;
}

.product-item-active {
  display: block;
}

.product-item-img {
  display: flex;
  align-items: center;
  width: 76%;
  height: 100%;
  transition: all 2s ease-out;
  animation: product-info-img-animation 0.9s;
}

.product-item-img img:hover {
  transform: scale(1.1);
}

.product-item-img img {
  width: 33vw;
  height: 33vw;
  object-fit: contain;
  margin-left: 2.6vw;
  transition: all 0.3s;
}

.product-info {
  position: absolute;
  top: 104px;
  right: 0;
  width: 30vw;
  min-height: 230px;
  overflow: hidden; /* 超出容器的部分隐藏 */
  text-overflow: ellipsis; /* 当文本超出容器时显示省略号 */
  background: rgba(255, 198, 55, 0.95);
  border-radius: 12px 0px 0px 12px;
  padding: 40px;
  background-color: #ffc107;
  transition: all 2s ease-out;
  animation: product-info-animation 0.9s;
}

.swiper-wrapper-mobile{
  animation: product-info-animation 0.9s;
}

@keyframes product-info-img-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes product-info-animation {
  0% {
    opacity: 0;
    transform: translateX(578px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

.product-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
}

.product-title:after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #333;
  margin-top: 15px;
}

.product-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.device-container-mobile {
  display: none;
}

.iml10a {
  display: inline-block;
  margin-left: 10px;
  animation: arrow_animation 0.7s ease-in-out infinite;
}

@keyframes arrow_animation {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0px);
  }
}

@media (max-width: 1680px) {
  .banner-content {
    width: 1180px;
  }
  .product-control {
    right: 48px;
    bottom: 118px;
  }

  .product-info {
    padding: 32px;
  }
}

@media (max-width: 1500px) {
  .about-image {
    display: flex;
    flex: 1;
    width: 624px;
    height: 100%;
    align-items: center;
  }
  .about-image img {
    width: 100%;
    height: auto;
  }

  .about-container {
    width: 1200px;
    padding: 78px 20px 82px 20px;
  }

  .product-info {
    width: 26vw;
  }

  .product-left {
    width: 333px;
    margin-left: calc((100vw - 1200px) / 2);
  }
}

@media (max-width: 1480px) {
  .banner-content {
    width: 1180px;
  }
}

@media (max-width: 1280px) {
  .banner-content {
    width: initial;
  }
  .product-left {
    width: 333px;
    margin-left: 20px;
  }
}

@media (max-width: 1200px) {
  .banner-content-title {
    font-size: 55px;
  }
  .banner-content-subtitle {
    font-size: 48px;
  }

  .banner-content-cn-subtitle {
    font-size: 18px;
  }
  .banner-content-slogan {
    font-size: 23px;
  }

  .about-image {
    display: flex;
    align-items: center;
    width: 451px;
    height: 100%;
  }

  .about-title {
    font-size: 25px;
  }

  .about-sub-title {
    font-size: 20px;
  }
  .about-text {
    font-size: 13px;
  }
  .about-more {
    width: 140px;
    height: 44px;
    line-height: 44px;
  }
}

@media (max-width: 960px) {
  .product-container-web {
    display: none;
  }
  .device-container-mobile {
    display: block;
  }
}

@media (max-width: 900px) {
  .banner {
    height: 428px;
    padding-top: 125px;
  }
  .banner-content-title {
    font-size: 44px;
    line-height: 50px;
  }
  .banner-content-subtitle {
    font-size: 36px;
    line-height: 40px;
  }

  .banner-content-cn-subtitle {
    font-size: 13px;
    line-height: 20px;
  }
  .banner-content-slogan {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .about-container{
    padding: 48px 20px 82px 20px;
  }
  .about-title{
    text-align: center;
  }
  .about-sub-title {
    margin-bottom: 24px;
    text-align: center;
  }
  .about-wrapper {
    display: block;
  }
  .about-image {
    display: none;
  }

  .about-image-mobile {
    display: block;
    margin-bottom: 20px;
  }

  .about-more {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .banner-content-subtitle span:first-child {
    display: block;
  }
  .banner-content-slogan {
    margin-top: 15px;
  }
  .banner-content-cn-subtitle {
    margin-top: 4px;
  }
  .banner-content {
    padding: 0 33px;
  }
  .banner {
    height: 420px;
    padding-top: 125px;
  }
}
